Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exempt state for MHR Information #1591

Merged
merged 3 commits into from
Oct 23, 2023
Merged

Conversation

dimak1
Copy link
Collaborator

@dimak1 dimak1 commented Oct 20, 2023

Issue #:

Description of changes:

  • MHR Info page in Exempt state (any changes restricted)
  • Other updates as per design req's
  • Unit tests
  • Small cleanups

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the PPR license (Apache 2.0).

@dimak1 dimak1 self-assigned this Oct 20, 2023
@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Merging #1591 (26c1e4b) into main (9255e77) will increase coverage by 5.01%.
Report is 300 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1591      +/-   ##
==========================================
+ Coverage   72.35%   77.37%   +5.01%     
==========================================
  Files         307      379      +72     
  Lines       12767     7004    -5763     
  Branches     2630     1117    -1513     
==========================================
- Hits         9237     5419    -3818     
+ Misses       3518     1553    -1965     
- Partials       12       32      +20     
Flag Coverage Δ
pprui 77.37% <ø> (+5.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
ppr-ui/src/App.vue 100.00% <ø> (+56.78%) ⬆️
ppr-ui/src/components/collateral/Collateral.vue 100.00% <ø> (+10.97%) ⬆️
...nents/collateral/generalCollateral/GenColAmend.vue 100.00% <ø> (+18.00%) ⬆️
...onents/collateral/generalCollateral/GenColEdit.vue 100.00% <ø> (+15.15%) ⬆️
...nts/collateral/generalCollateral/GenColSummary.vue 100.00% <ø> (+8.00%) ⬆️
...collateral/generalCollateral/GeneralCollateral.vue 100.00% <ø> (+6.66%) ⬆️
...ts/collateral/vehicleCollateral/EditCollateral.vue 100.00% <ø> (+22.58%) ⬆️
...collateral/vehicleCollateral/VehicleCollateral.vue 100.00% <ø> (+19.41%) ⬆️
...cleCollateral/factories/useCollateralValidation.ts 71.42% <ø> (ø)
...llateral/vehicleCollateral/factories/useVehicle.ts 70.14% <ø> (-0.91%) ⬇️
... and 39 more

... and 276 files with indirect coverage changes

@dimak1 dimak1 force-pushed the feat/exempt-mhr-info branch from 3f1b09b to 4303512 Compare October 20, 2023 23:28
@dimak1 dimak1 marked this pull request as ready for review October 20, 2023 23:28
@dimak1
Copy link
Collaborator Author

dimak1 commented Oct 20, 2023

/gcbrun

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://bcregistry-assets-dev--pr-1591-zmzozvg0.web.app

Copy link
Collaborator

@doug-lovett doug-lovett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

@dimak1
Copy link
Collaborator Author

dimak1 commented Oct 21, 2023

/gcbrun

panelUnitNotes: createPanelUnitNotes(props.unitNotes)
panelUnitNotes: createPanelUnitNotes(props.unitNotes),
addUnitNoteDropdown: computed((): UnitNoteDocTypes[] => {
const dropdown = isRoleStaffReg ? ResidentialExemptionStaffDropDown : ResidentialExemptionQSDropDown
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cameron-eyds @doug-lovett for awareness, I'm using this reg staff role (ppr_staff), but across the app we also do use 'staff'.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Dima, the API looks at ppr_staff, not staff, when checking endpoint access.

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://bcregistry-assets-dev--pr-1591-zmzozvg0.web.app

Copy link
Collaborator

@cameron-eyds cameron-eyds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link
Collaborator

@cameron-eyds cameron-eyds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@dimak1 dimak1 force-pushed the feat/exempt-mhr-info branch from 728ce65 to 26c1e4b Compare October 23, 2023 17:38
@dimak1
Copy link
Collaborator Author

dimak1 commented Oct 23, 2023

/gcbrun

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://bcregistry-assets-dev--pr-1591-zmzozvg0.web.app

@dimak1 dimak1 merged commit bcbae33 into bcgov:main Oct 23, 2023
7 checks passed
@dimak1 dimak1 deleted the feat/exempt-mhr-info branch October 23, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants